import request from '../utils/request';

//动态配置查询 获取所有策略
export function getAllStrategy (data) {
    return request({
        apiType:'CAR',
        baseURL: 'carmanage',
        url: '/web/strategy/getAllStrategy',
        method: 'post',
        data
    });
};

//动态配置查询 选择策略id 获取对应trigger 列表
export function getStrategyListByCondition (data) {
    return request({
        apiType:'CAR',
        baseURL: 'carmanage',
        url: '/web/strategy/getStrategyListByCondition',
        method: 'post',
        data
    });
};
